//
//  AYSHomeSDTableViewCell.m
//  AiYingShiProject
//
//  Created by lanou on 15/10/29.
//  Copyright (c) 2015年 李晓理. All rights reserved.
//

#import "AYSHomeSDTableViewCell.h"

@implementation AYSHomeSDTableViewCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self)
    {
        _picture = [[UIImageView alloc] initWithFrame:CGRectMake(10, 10, 80, 100)];
        [self.contentView addSubview:_picture];
        
        _detailLabel = [[UILabel alloc] initWithFrame:CGRectMake(100, 20, SCREEN_WIDTH - 110, 20)];
        _detailLabel.font = [UIFont systemFontOfSize:15];
        _detailLabel.textColor = [UIColor lightGrayColor];
        [self.contentView addSubview:_detailLabel];
        
        _titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(100, 45, SCREEN_WIDTH - 150 , 30)];
        _titleLabel.font = [UIFont systemFontOfSize:18];
//        _titleLabel.textColor = [UIColor whiteColor];
        [self.contentView addSubview:_titleLabel];
        
        _roleLabel = [[UILabel alloc] initWithFrame:CGRectMake(100, 80, SCREEN_WIDTH - 110, 20)];
        _roleLabel.font = [UIFont systemFontOfSize:15];
        _roleLabel.textColor = [UIColor lightGrayColor];
        [self.contentView addSubview:_roleLabel];

    }
    
    return self;
}





- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
